package com.whmall.service.crm.module.company.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.whmall.component.entity.ICreateModel;
import com.whmall.component.entity.IIpModel;
import com.whmall.component.entity.ILongIdModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("company_log")
public class CompanyLogDO implements ILongIdModel<CompanyLogDO>, ICreateModel<CompanyLogDO>, IIpModel<CompanyLogDO> {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long companyId;

    private Integer createType;

    private Long createId;

    private Integer operationType;

    private String operationDesc1;

    private Date createTime;

    private String ip;
}
